package com.mapping.one2many.bothway;

import java.util.Date;
import java.util.Set;

public class CategoryInfo {
	
	private String id;
	private String name;
	private String descriptions;
	private Date createDate;
	private Date lastModifyDate;
	
	private Set<ProductInfo> products;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescriptions() {
		return descriptions;
	}

	public void setDescriptions(String descriptions) {
		this.descriptions = descriptions;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getLastModifyDate() {
		return lastModifyDate;
	}

	public void setLastModifyDate(Date lastModifyDate) {
		this.lastModifyDate = lastModifyDate;
	}

	public Set<ProductInfo> getProducts() {
		return products;
	}

	public void setProducts(Set<ProductInfo> products) {
		this.products = products;
	}

	@Override
	public String toString() {
		return "CategoryInfo [id=" + id + ", name=" + name + ", descriptions="
				+ descriptions + ", createDate=" + createDate
				+ ", lastModifyDate=" + lastModifyDate + ", products="
				+ products + "]";
	}
	
	
	

}
